package com.accp.demo.mapper.finance;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.accp.demo.pojo.finance.SupplierCredit;


public interface SupplierCreditMapper {

		//新增供应商账款明细记录
		void insert(SupplierCredit supplierCredit);
		//根据客户编号，来原单别，来源单号删除供应商账款明细记录
		void deleteBy(@Param("supplierNo")String customerNo,@Param("orderForm")int orderForm,@Param("orderNoForm")String orderNoForm);
		//根据编号删除供应商账款明细记录
		void delete(@Param("infoId")int infoId);
		//更新供应商账款明细记录
		void update(SupplierCredit supplierCredit);
		//根据供应商编号查询客户账款明细记录
		SupplierCredit findBy(@Param("supplierNo")String supplierNo);
		//分页条件查询供应商账款明细记录
		List<SupplierCredit> findByPage(Map<String,Object> map);
}
